                     <div class="span-24 clearfix" id="main">
				<div class="container">

	<div class="span-19">
		<div id="content">
			 
<div class="errorMessage"> <?php echo notify_get_messages('users'); ?> </div>
<div class="grid-view" id="admins-grid">

<table class="items">
<thead>
<tr>
<th id="admins-grid_c1">Fistname</th>
<th id="admins-grid_c1" >Lastname</th>
<th id="admins-grid_c1" >Username</th>
<th id="admins-grid_c1" >Active</th>
<th id="admins-grid_c2" class="button-column">&nbsp;</th></tr>

<tr class="filters" style="display: none;">
<td><input type="text" maxlength="255" name="Admins[email]"></td><td><select name="Admins[active]">
<option value="" selected="selected"></option>
<option value="0">No</option>
<option value="1">Yes</option>
</select></td><td>&nbsp;</td></tr>
</thead>
<tbody>
<?php
foreach($query->result_array() as $row) 
{
?>
<tr class="odd">
  <td><?php echo $row['firtname'] ?></td>
  <td><?php echo $row['lastname'] ?></td>
  <td><?php echo $row['username'] ?></td>
  <td class=""><?php echo $row['acti'] ?></td>
  <td class="button-column">
    <a href="<?php echo site_url('users/edit/'.$row['id']); ?>" title="Update" class="update">
    <img alt="Update" src="<?php echo root_url() ?>data/admin/update.png" /></a> 
    <a href="#" onclick="if(window.confirm('<?php echo "Do you want delete "." ".$row["username"]?>?')) 
	window.location='<?php echo site_url("users/delete/".$row["id"]);?>';"  title="Delete" class="delete">
    <img alt="Delete" src="<?php echo root_url() ?>data/admin/delete.png" /></a>
    </td>
</tr>
<?php
}
?>


</tbody>
</table>
<div title="/admins" style="display:none" class="keys"><span>5</span><span>6</span><span>7</span><span>8</span></div>
</div>		</div><!-- content -->

	</div>
	<div class="span-5 last">
		<div id="sidebar">
		<div id="yw1" class="portlet">
<div class="portlet-decoration">
<div class="portlet-title">Operations</div>
</div>
<div class="portlet-content">
<ul id="yw2" class="operations">
<li><a href="<?php echo site_url('users/add') ?>">Add new Administrator</a></li>
<li><a href="<?php echo site_url('users') ?>">List Administrators</a></li>

</ul></div>
</div>		</div><!-- sidebar -->
	</div>
</div>
			</div>